import { logLevel } from "./framework/log/LogMgr"

export const AppCfg = {
    web:{
        server:{
            login: "http:127.0.0.1:9999",//登录校验，获取token和连接的网关地址
            game:"",//有戏服，一般是登录服返回的网关地址
            bi:"",//前端埋点日志收集地址
            battle:""
        },
        log:{
            logOpen: true,
            logLvel: logLevel.Debug
        },
        asset:{//资源bundle
            resource:{
                name:"resources",
                remote:false
            },
            scripts:{
                name:"scripts",
                remote:false
            },
            excel_tb_resources:{
                name:"excel_tb_resources",
                remote:false
            },
            sound_resources:{
                name:"sound_resources",
                remote:false
            },
        },
        platform:{
            vedioID: '',
            bannerID: '',
        }
    },
    wx:{
        server:{
            login: "http:127.0.0.1:9999",//登录校验，获取token和连接的网关地址
            game:"",//有戏服，一般是登录服返回的网关地址
            bi:"",//前端埋点日志收集地址
            battle:""
        },
        log:{
            logOpen: true,
            logLvel: logLevel.Debug
        },
        asset:{//资源bundle
            resource:{
                name:"resources",
                remote:false
            },
            scripts:{
                name:"scripts",
                remote:false
            },
            excel_tb_resources:{
                name:"excel_tb_resources",
                remote:true
            },
            sound_resources:{
                name:"sound_resources",
                remote:true
            },
        },
        platform:{
            vedioID: '',
            bannerID: '',
        }
    },
    wx_test:{
        server:{
            login: "http:127.0.0.1:9999",//登录校验，获取token和连接的网关地址
            game:"",//有戏服，一般是登录服返回的网关地址
            bi:"",//前端埋点日志收集地址
            battle:""
        },
        log:{
            logOpen: true,
            logLvel: logLevel.Debug
        },
        asset:{//资源bundle
            resource:{
                name:"resources",
                remote:false
            },
            scripts:{
                name:"scripts",
                remote:false
            },
            excel_tb_resources:{
                name:"excel_tb_resources",
                remote:true
            },
            sound_resources:{
                name:"sound_resources",
                remote:true
            },
        },
        platform:{
            vedioID: '',
            bannerID: '',
        }
    }
}


export const EnterGameProgress = {
    LocalEnvironmentOk:{
        tips:"本地环境准备就绪",
        progress: 0.05
    },
    PlatformLogin:{
        tips:"平台登录成功",
        progress: 0.1
    },
    GameServerLogin:{
        tips:"游戏服登录成功",
        progress: 0.15
    },
    TbDataLoadOk:{
        tips:"配置加载成功",
        progress: 0.20
    },
    AllDone:{
        tips:"进入游戏中。。。",
        progress: 1
    },
}